import React from 'react';
import { Link } from 'react-router-dom';
import ClassNames from 'classnames';
import LogoPrimary from '@/assets/images/logo_primary.png';

import styles from '../style/Header.scss';

const Header = () => (
  <header className={styles.container}>
    <img className={styles.logo} src={LogoPrimary} />
    <div className={styles.buttons}>
      <Link className={styles.btn} to="/">返回首页</Link>
      <Link className={ClassNames(styles.btn, styles.isActive)} to="/download">打开APP</Link>
    </div>
  </header>
);

export default Header;
